import random
b = 0
n = int(input())
for i in range(n):
    x = random.randint(-100,100)
    y = random.randint(-100,100)
    if -8 < x < 6 and -9 < y < 6:
        b+=1
print(b)
